import { ajax } from "../utils";

//登录
export const login=(data)=>{
    return ajax.all('login',data,'post');
}

//获取用户
export const getuser=(url='getuser',data={},loading=true)=>{
    return ajax(url,data,'get',loading);
}